import Mock from "mockjs";
const myhomelist = Mock.mock({
  "data|12": [
    {
      "name|1": ["人事部","生产部","开发部","财务部","实验部"],
       "mtime":"@date(2021/mm/dd)",
       "imgurl|1":"",
       "cname":"@cname",
       "pros|1":["升职","离职"]
    },
  ],
});
class Mockapi {
  getmyhomelist() {
    return Promise.resolve({
      status: 0,
      result: myhomelist,
    });
  }
}
export const mockapi = new Mockapi();